import {post} from "@/request/http";

export const ApiCreateUser = p => post("/api/create/user", p);
export const GetUserList = p => post("/api/user/list", p);
export const DeleteUser = p => post("/api/user/delete", p);
export const UpdatePassword = p => post("/api/user/set/password", p);
export const CreateWxApp = p => post("/api/wx/applet/add", p);
export const GetWxAppList = p => post("/api/wx/applet/list", p);
export const GetWxAppAll = p => post("/api/wx/applet/query/all", p);
export const DeleteWxApp = p => post("/api/wx/applet/delete", p);
export const UpdateWxApp = p => post("/api/wx/applet/update", p);
export const GetBranchList = p => post("/api/project/get/branch/list", p);
export const CreateWxProject = p => post("/api/project/add", p);
export const GetWxProjectList = p => post("/api/project/list", p);
export const DeleteWxProject = p => post("/api/project/delete", p);
export const WxLogin = p => post("/api/login", p);
export const WxIsLogin = p => post("/api/is/login", p);
export const WxProjectBuild = p => post("/api/project/build", p);
export const WxTaskList = p => post("/api/task/list", p);